package class2;

public class Utils {
    public static boolean isLegalId(String string){
        for (char eachChar:string.toCharArray()){
            if (eachChar>'9' || eachChar<'0'){
                return false;
            }
        }
        return true;
    }
}
